import request from './request'

const getAnnouncement = () => request.get('/announcement/get')

const upsertAnnouncement = (geojson) => request.put('/announcement/upsert', { geojson })

export { getAnnouncement, upsertAnnouncement }
